package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by mume on 15/3/28.
 * 车主评价列表
 *
 */
public class DriverCommentListResponse extends ComNetResponse implements Serializable {
    private static final long serialVersionUID = 3744289313404351170L;

    public int errNo;
    public String errMsg;

    public DriverComment data;

    public static final class DriverComment implements Serializable{
        private static final long serialVersionUID = 3641121990860682169L;
        public int count;
        public ArrayList<DriverCommentItem> commentList;
    }

    public static final class DriverCommentItem implements Serializable{
        private static final long serialVersionUID = -1586798300576944564L;
        public String userNickname;
        public String commentMsg;
        public String createTime;
    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return errNo;
    }

    @Override
    public String getErrorMsg() {
        return errMsg;
    }
}
